<template>
  <div>
      <head-top
        title="编辑订单"
        rightText="完成"
        :right-event="true"
        v-on:rightClickEvent="editOrder"
      ></head-top>
      <order-edit ref="orderEditRef"></order-edit>
  </div>
</template>

<script>
import HeadTop from "@/components/HeadTop"
import OrderEdit from "@/components/order/edit";
export default {
  components: {
    OrderEdit,
    HeadTop,
  },
  name: "OrderViewEdit",
  mounted: function(){
  },
  data() {
    return {
    };
  },
  methods: {
    editOrder() {
      this.$refs.orderEditRef.editOrder()
      this.$router.push(this.GLOBAL.pathSetting.order.main);
    },
    onSwiperRight() {
      this.$router.go(-1)
    },
  },
};
</script>
<style scoped>
</style>
<style>
</style>